package com.means.polymerize.common.constants;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * The enum Result desc.
 *
 * @author xuhaifeng
 * @date 2021.1.19 21:19
 */
@Getter
@AllArgsConstructor
public enum ResultDesc {
    /**
     * HTTP Status-Code 200: OK.
     */
    OK(Global.OK),
    /**
     * HTTP Status-Code 400: Bad Request.
     */
    BAD_REQUEST(Global.BAD_REQUEST),
    /**
     * HTTP Status-Code 401: Unauthorized.
     */
    UNAUTHORIZED(Global.UNAUTHORIZED),
    /**
     * HTTP Status-Code 500: Internal Server Error.
     */
    INTERNAL_ERROR(Global.INTERNAL_ERROR);
    /**
     * Result Desc
     */
    public String desc;
}
